package cn.nxnil.test.web.dao.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "`usercenter_user`")
public class UsercenterUser {
    @Id
    @Column(name = "`id`")
    private Long id;

    /**
     * 1供零在线 2云超 3云商
     */
    @Column(name = "`user_source`")
    private Integer userSource;

    /**
     * 1 门店    2商行   3后台
     */
    @Column(name = "`business_type`")
    private String businessType;

    /**
     * 用户名
     */
    @Column(name = "`username`")
    private String username;

    /**
     * 工号
     */
    @Column(name = "`user_number`")
    private String userNumber;

    /**
     * 密码
     */
    @Column(name = "`password`")
    private String password;

    /**
     * 密码盐
     */
    @Column(name = "`password_salt`")
    private String passwordSalt;

    /**
     * 手机号
     */
    @Column(name = "`telephone`")
    private String telephone;

    /**
     * 邮箱
     */
    @Column(name = "`email`")
    private String email;

    /**
     * 昵称
     */
    @Column(name = "`nickname`")
    private String nickname;

    /**
     * 姓名
     */
    @Column(name = "`name`")
    private String name;

    /**
     * 头像地址
     */
    @Column(name = "`avatar_url`")
    private String avatarUrl;

    /**
     * 性别 1男 2女
     */
    @Column(name = "`gender`")
    private Integer gender;

    /**
     * 原先用户表的id
     */
    @Column(name = "`external_id`")
    private String externalId;

    /**
     * 创建者的id
     */
    @Column(name = "`operator_id`")
    private Long operatorId;

    /**
     * 创建者的姓名
     */
    @Column(name = "`operator_name`")
    private String operatorName;

    /**
     * 创建者的工号
     */
    @Column(name = "`operator_user_number`")
    private String operatorUserNumber;

    @Column(name = "`remark`")
    private String remark;

    @Column(name = "`organic_house_flag`")
    private Boolean organicHouseFlag;

    /**
     * 状态 -1删除 0初始 1可用 2禁用
     */
    @Column(name = "`status`")
    private Integer status;

    @Column(name = "`created_time`")
    private Date createdTime;

    @Column(name = "`updated_time`")
    private Date updatedTime;

    @Column(name = "`created_by`")
    private String createdBy;

    @Column(name = "`updated_by`")
    private String updatedBy;

    @Column(name = "`color_food_fresh_flag`")
    private Integer colorFoodFreshFlag;

    @Column(name = "`business_flag`")
    private Integer businessFlag;

    @Column(name = "`sign_flag`")
    private Integer signFlag;

    @Column(name = "`work_type`")
    private String workType;

    @Column(name = "`department_id`")
    private Long departmentId;

    @Column(name = "`department_code`")
    private String departmentCode;

    @Column(name = "`department_name`")
    private String departmentName;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取1供零在线 2云超 3云商
     *
     * @return user_source - 1供零在线 2云超 3云商
     */
    public Integer getUserSource() {
        return userSource;
    }

    /**
     * 设置1供零在线 2云超 3云商
     *
     * @param userSource 1供零在线 2云超 3云商
     */
    public void setUserSource(Integer userSource) {
        this.userSource = userSource;
    }

    /**
     * 获取1 门店    2商行   3后台
     *
     * @return business_type - 1 门店    2商行   3后台
     */
    public String getBusinessType() {
        return businessType;
    }

    /**
     * 设置1 门店    2商行   3后台
     *
     * @param businessType 1 门店    2商行   3后台
     */
    public void setBusinessType(String businessType) {
        this.businessType = businessType == null ? null : businessType.trim();
    }

    /**
     * 获取用户名
     *
     * @return username - 用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置用户名
     *
     * @param username 用户名
     */
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    /**
     * 获取工号
     *
     * @return user_number - 工号
     */
    public String getUserNumber() {
        return userNumber;
    }

    /**
     * 设置工号
     *
     * @param userNumber 工号
     */
    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber == null ? null : userNumber.trim();
    }

    /**
     * 获取密码
     *
     * @return password - 密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置密码
     *
     * @param password 密码
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * 获取密码盐
     *
     * @return password_salt - 密码盐
     */
    public String getPasswordSalt() {
        return passwordSalt;
    }

    /**
     * 设置密码盐
     *
     * @param passwordSalt 密码盐
     */
    public void setPasswordSalt(String passwordSalt) {
        this.passwordSalt = passwordSalt == null ? null : passwordSalt.trim();
    }

    /**
     * 获取手机号
     *
     * @return telephone - 手机号
     */
    public String getTelephone() {
        return telephone;
    }

    /**
     * 设置手机号
     *
     * @param telephone 手机号
     */
    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    /**
     * 获取邮箱
     *
     * @return email - 邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置邮箱
     *
     * @param email 邮箱
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * 获取昵称
     *
     * @return nickname - 昵称
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * 设置昵称
     *
     * @param nickname 昵称
     */
    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    /**
     * 获取姓名
     *
     * @return name - 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 设置姓名
     *
     * @param name 姓名
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取头像地址
     *
     * @return avatar_url - 头像地址
     */
    public String getAvatarUrl() {
        return avatarUrl;
    }

    /**
     * 设置头像地址
     *
     * @param avatarUrl 头像地址
     */
    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl == null ? null : avatarUrl.trim();
    }

    /**
     * 获取性别 1男 2女
     *
     * @return gender - 性别 1男 2女
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * 设置性别 1男 2女
     *
     * @param gender 性别 1男 2女
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * 获取原先用户表的id
     *
     * @return external_id - 原先用户表的id
     */
    public String getExternalId() {
        return externalId;
    }

    /**
     * 设置原先用户表的id
     *
     * @param externalId 原先用户表的id
     */
    public void setExternalId(String externalId) {
        this.externalId = externalId == null ? null : externalId.trim();
    }

    /**
     * 获取创建者的id
     *
     * @return operator_id - 创建者的id
     */
    public Long getOperatorId() {
        return operatorId;
    }

    /**
     * 设置创建者的id
     *
     * @param operatorId 创建者的id
     */
    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    /**
     * 获取创建者的姓名
     *
     * @return operator_name - 创建者的姓名
     */
    public String getOperatorName() {
        return operatorName;
    }

    /**
     * 设置创建者的姓名
     *
     * @param operatorName 创建者的姓名
     */
    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName == null ? null : operatorName.trim();
    }

    /**
     * 获取创建者的工号
     *
     * @return operator_user_number - 创建者的工号
     */
    public String getOperatorUserNumber() {
        return operatorUserNumber;
    }

    /**
     * 设置创建者的工号
     *
     * @param operatorUserNumber 创建者的工号
     */
    public void setOperatorUserNumber(String operatorUserNumber) {
        this.operatorUserNumber = operatorUserNumber == null ? null : operatorUserNumber.trim();
    }

    /**
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * @return organic_house_flag
     */
    public Boolean getOrganicHouseFlag() {
        return organicHouseFlag;
    }

    /**
     * @param organicHouseFlag
     */
    public void setOrganicHouseFlag(Boolean organicHouseFlag) {
        this.organicHouseFlag = organicHouseFlag;
    }

    /**
     * 获取状态 -1删除 0初始 1可用 2禁用
     *
     * @return status - 状态 -1删除 0初始 1可用 2禁用
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置状态 -1删除 0初始 1可用 2禁用
     *
     * @param status 状态 -1删除 0初始 1可用 2禁用
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return created_time
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * @param createdTime
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * @return updated_time
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * @param updatedTime
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    /**
     * @return created_by
     */
    public String getCreatedBy() {
        return createdBy;
    }

    /**
     * @param createdBy
     */
    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    /**
     * @return updated_by
     */
    public String getUpdatedBy() {
        return updatedBy;
    }

    /**
     * @param updatedBy
     */
    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy == null ? null : updatedBy.trim();
    }

    /**
     * @return color_food_fresh_flag
     */
    public Integer getColorFoodFreshFlag() {
        return colorFoodFreshFlag;
    }

    /**
     * @param colorFoodFreshFlag
     */
    public void setColorFoodFreshFlag(Integer colorFoodFreshFlag) {
        this.colorFoodFreshFlag = colorFoodFreshFlag;
    }

    /**
     * @return business_flag
     */
    public Integer getBusinessFlag() {
        return businessFlag;
    }

    /**
     * @param businessFlag
     */
    public void setBusinessFlag(Integer businessFlag) {
        this.businessFlag = businessFlag;
    }

    /**
     * @return sign_flag
     */
    public Integer getSignFlag() {
        return signFlag;
    }

    /**
     * @param signFlag
     */
    public void setSignFlag(Integer signFlag) {
        this.signFlag = signFlag;
    }

    /**
     * @return work_type
     */
    public String getWorkType() {
        return workType;
    }

    /**
     * @param workType
     */
    public void setWorkType(String workType) {
        this.workType = workType == null ? null : workType.trim();
    }

    /**
     * @return department_id
     */
    public Long getDepartmentId() {
        return departmentId;
    }

    /**
     * @param departmentId
     */
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    /**
     * @return department_code
     */
    public String getDepartmentCode() {
        return departmentCode;
    }

    /**
     * @param departmentCode
     */
    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode == null ? null : departmentCode.trim();
    }

    /**
     * @return department_name
     */
    public String getDepartmentName() {
        return departmentName;
    }

    /**
     * @param departmentName
     */
    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName == null ? null : departmentName.trim();
    }
}